{% extends "bootstrap/base.html" %}
{% import 'bootstrap/wtf.html' as wtf %}
<head>
    {% block title %}Flow-Alchemy{% endblock %}
    {% block metas %}
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    {% endblock %}
    {% block styles %}
        <link rel="stylesheet" type="text/css" href="/static/bootstrap/css/bootstrap.min.css"/>
        <link rel="stylesheet" type="text/css" href="/static/font-awesome-4.7.0/css/font-awesome.css"/>
        {% block ext_styles %}
        {% endblock %}
    {% endblock %}
    {% block scripts %}
        <script src="/static/jquery-3.5.1.min.js"></script>
        <script src="/static/md5.js" type="text/javascript"></script>
        <script type="text/javascript" src="/static/bootstrap/js/bootstrap.min.js"></script>
        <script src="/static/lang.js" type="text/javascript"></script>
        {% block ext_scripts %}
        {% endblock %}
        <script>$(".flash").fadeOut(5000);</script>
    {% endblock %}


</head>

<body>
{% block navbar %}
<input style="display: none;" value="{{ time_stamp }}">
    <nav class="navbar navbar-inverse">
        <div class="container">
            <div class="navbar-header">
                <a class="navbar-brand" href="{% if current_user %}/index/{% endif %}">Flow-Alchemy</a>
            </div>
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav">
                    {% if current_user %}
                        <li><a href="/flow/">流程</a></li>
                        <li><a href="/flow/process/">审批</a></li>
{#                        {% if current_user.is_admin() %}#}
                            <li><a href="/user/">用户</a></li>
                            <li><a href="/roles/">角色</a></li>
{#                            <li><a href="/flow/log/1/">日志</a></li>#}
{#                        {% endif %}#}
                        <li><a href="/flow/log/1/">日志</a></li>
                    {% endif %}
                </ul>

                <ul class="nav navbar-nav navbar-right">
                    {% if current_user %}
                        <li><a href="/user/{{ current_user.account }}">{{ current_user.name }}</a></li>
                        <li><a href="/logout/" title="注销登录"> <span class="glyphicon glyphicon-off"
                                                                   aria-hidden="true"></span> </a></li>
                    {% endif %}
                </ul>
            </div>
        </div>
    </nav>

{% endblock %}

{% block content %}

    <div class="container">
    <div class="row">
        <div class="col-md-2">
            {% block left_content %}
                {#            <div class="panel panel-default">#}
                {#                <div class="panel-heading">信息管理</div>#}
                {#                <div class="panel-body">#}
                {#                    <table class="table">#}
                {#                        <tr><td><a my-url="/my_resume" class="my-info list-group-item">我的简历</a></td></tr>#}
                {#                        <tr><td><a my-url="/job_record" class="my-info list-group-item">求职记录</a></td></tr>#}
                {#                        <tr><td><a my-url="/account_info" class="my-info list-group-item">账号管理</a></td></tr>#}
                {#                    </table>#}
                {#  <div class="panel-footer">Panel footer</div>#}
                {#                </div>#}
                {#            </div>#}
            {% endblock %}
        </div>
        <div class="col-md-8">
            <div class="row">
                {% block message_content %}
                    {% include 'message.html' %}

                {% endblock %}
                {% block main_content %}
                {% endblock %}
            </div>
        </div>
        <div class="col-md-2">
            {% block right_content %}
                &nbsp;
            {% endblock %}
        </div>
    </div>
    </div>


{% endblock %}
{% block footer %}
    {#        <div class="footer">#}
    {#        <div class="footer_com clearfix">#}
    {#            <div class="col-md-12 col-sm-12 col-xs-12">#}
    {#                <p class="PL10 big">#}
    {#                    #}
    {#                </p>#}
    {#            </div>#}
    {#        </div>#}
    {#    </div>#}
{% endblock %}
</div>
</body>

</html>